﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Collections;
using OgilvyOne.Model;
using System.Data;
namespace OgilvyOne.IDAL
{
    public interface TypeManageIDAL
    {
        #region  成员方法
        /// <summary>
        /// 是否存在该记录
        /// </summary>
        bool Exists(string columntypeid);
        /// <summary>
        /// 增加一条数据
        /// </summary>
        int Add(OgilvyOne.Model.TypeManageModel model);
        /// <summary>
        /// 更新一条数据
        /// </summary>
        int updateType(TypeManageModel tmm);
        /// <summary>
        /// 删除一条数据
        /// </summary>
        bool Delete(int COLUMNTYPEID);
        /// <summary>
        /// 获得数据列表
        /// </summary>
        DataSet GetList(string strWhere);
        /// <summary>
        TypeManageModel selectType(int tpid);
        #endregion  成员方法
    }
}
